package ex.com.jm.food.service.impl;

import java.util.List;
import java.util.Map;

import ex.com.jm.food.dao.CompanyMPSDao;
import ex.com.jm.food.service.CompanyMPSService;

public class CompanyMPSServiceImpl implements CompanyMPSService {

	private CompanyMPSDao companyMPSDao;
	public CompanyMPSDao getCompanyMPSDao() {
		return companyMPSDao;
	}

	public void setCompanyMPSDao(CompanyMPSDao companyMPSDao) {
		this.companyMPSDao = companyMPSDao;
	}

	@Override
	public List<Map<String, Object>> getMPS(String menuName,String comId, String s_date,
			String e_date) {
		// TODO Auto-generated method stub
		return this.getCompanyMPSDao().getMPS(menuName,comId, s_date, e_date);
	}

	@Override
	public List<Map<String, Object>> getComMPS(int initPage, int pageRow,
			String menuName,String comId, String s_date, String e_date, String order,
			String sort) {
		// TODO Auto-generated method stub
		return this.getCompanyMPSDao().getComMPS(initPage, pageRow,menuName, comId, s_date, e_date, order, sort);
	}

	@Override
	public int mpsCount(String menuName,String comId, String s_date, String e_date) {
		// TODO Auto-generated method stub
		return this.getCompanyMPSDao().mpsCount(menuName,comId, s_date, e_date);
	}

}
